package com.web.exiaodao.remote.vo;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;

/**
 * @ClassName: TradeRecordVo
 * @Description:交易记录 Vo
 * @author eason.zt
 * @date  2017-01-22 18:34:39
 *
 */
@ApiModel(value="交易记录Vo对象")
public class TradeRecordVo {

	@ApiModelProperty(value="主键，自动增长")
	private Long id;
	
	@ApiModelProperty(value="创建时间")
	private String createTime;
	
 	@ApiModelProperty(value="用户id,用户id")
	private Long userId;
	@ApiModelProperty(value="交易金额,交易金额")
	private Double money;
	@ApiModelProperty(value="类型,类型(1:退款 2:提现)")
	private Integer type;
	@ApiModelProperty(value="订单号,订单号（可以为空）")
	private String orderNo;
		
	public TradeRecordVo(Long id,Long userId,Double money,Integer type,String orderNo) {
		this.id = id;
		this.userId = userId;
		this.money = money;
		this.type = type;
		this.orderNo = orderNo;
	}
	
	public TradeRecordVo() {
		super();
	}
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	
		public void setUserId(Long userId){
		this.userId=userId;
	}
	
	public Long getUserId(){
		return userId;
	}
		public void setMoney(Double money){
		this.money=money;
	}
	
	public Double getMoney(){
		return money;
	}
		public void setType(Integer type){
		this.type=type;
	}
	
	public Integer getType(){
		return type;
	}
		public void setOrderNo(String orderNo){
		this.orderNo=orderNo;
	}
	
	public String getOrderNo(){
		return orderNo;
	}
		
}

